const objectCheck = {
    AdminNewMenu_add: {
        parent_ID: {
            type: "String",
            desc: "父级路由ID",
            required: false
        },
        name: {
            type: "String",
            desc: "路由名称",
            message: "路由名称不能为空",
            required: true
        },
        type: { // 1 目录 2 菜单 3外部连接
            type: "Number",
            desc: "菜单类型",
            required: true
        },
        path: {
            type: "String",
            desc: "路由路径",
            message: "路由路径不能为空",
            required: true
        },
        redirect: {
            type: "String",
            desc: "重定向地址",
            required: false
        },
        component: {
            type: "String",
            desc: "路由组件",
            required: false
        },
        hidden: {
            type: "Number",
            desc: "是否隐藏",
            required: false
        },
        is_keep_alive: {
            type: "Number",
            desc: "是否保持",
            required: false
        },
        icon: {
            type: "String",
            desc: "路由图标",
            required: false
        },
        title: {
            type: "String",
            desc: "路由标题",
            required: false
        },
        affix: {
            type: "Number",
            desc: "是否固定",
            required: false
        },
        meta: {
            type: "String",
            desc: "更多参数配置",
            required: false
        },
        sorts: {
            type: "String",
            desc: "排序",
            required: false
        },
        is_show: {
            type: "Number",
            desc: "是否展示",
            required: false
        },
    },
    AdminNewRoles_add: {
        name: {
            type: "String",
            desc: "名称",
            message: "名称不能为空",
            required: true
        },
        code: {
            type: "String",
            desc: "角色编码",
            message: "角色编码不能为空",
            required: true
        },
        remark: {
            type: "String",
            desc: "备注",
            required: false
        }
    },
    adminUser_add: {
        user_name: {
            type: "String",
            desc: "用户名",
            message: "用户名不能为空",
            required: true
        },
        password: {
            type: "String",
            desc: "密码",
            message: "密码不能为空",
            required: false
        },
        email: {
            type: "String",
            desc: "邮箱",
            required: false
        },
        is_del: {
            type: "Number",
            desc: "是否删除",
            required: false
        },
        role_ID: {
            type: "String",
            desc: "角色",
            required: false
        }
    },
    web_user_add: {
        username: {
            type: "String",
            desc: "用户名",
            message: "用户名不能为空",
            required: true
        },
        password: {
            type: "String",
            desc: "密码",
            required: false
        },
        tel: {
            type: "String",
            desc: "手机号",
            required: false
        },
        email: {
            type: "String",
            desc: "邮箱",
            required: false
        },
        icon: {
            type: "String",
            desc: "头像",
            required: false
        },
        is_stop: {
            type: "Number",
            desc: "是否停用",
            required: false
        },
    },
    label_add: {
        title: {
            type: "String",
            desc: "标签名称",
            message: "标签名称不能为空",
            required: true
        },
    },
    userInfo_add: {
        usericon: {
            type: "String",
            required: true,
            message: "用户头像不能为空"
        },
        username: {
            type: "String",
            required: true,
            message: "用户名不能为空"
        },
        brief: {
            type: "String",
        },
        work_years: {
            type: "String",
        },
        tel: {
            type: "String",
        },
        email: {
            type: "String",
        },
        address: {
            type: "String",
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    titleAndBrfie_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        brfie: {
            type: "String",
            required: true,
            message: "简介不能为空"
        },
        keywords: {
            type: "String",
            message: "关键字"
        },
        more_meta: {
            type: "JSONstring",
            message: "更多meta",
            desc: "示例 [{name:string , content:string}]"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    top_img_add: {
        top_img_name: {
            type: "String",
            required: true,
            message: "图片名称不能为空",
        },
        image_url: {
            type: "String",
            required: true,
            message: "图片地址不能为空",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    nav_add: {
        pid: {
            type: "String",
            desc: "父级id",
        },
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        icon: {
            type: "String",
            desc: "图标",
        },
        path: {
            type: "String",
            desc: "路径",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
        is_article: {
            type: "Number",
            desc: "是否文章单独链接",
        },
    },
    links_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        url: {
            type: "String",
            required: true,
            message: "链接不能为空"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    search_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        url: {
            type: "String",
            message: "链接"
        },
        is_stop: {
            type: "Number",
            message: "是否停用"
        },
        is_activity: {
            type: "Number",
            message: "是否活动"
        },
        is_show: {
            type: "Number",
            message: "是否显示不能为空"
        },
    },
    protocol_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空",
        },
        type: {
            type: "String",
            required: true,
            message: "类型不能为空",
        },
        content: {
            type: "String",
            message: "内容",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
        is_del: {
            type: "Number",
            desc: "是否删除",
        }
    },
    SelfEvaluation_add: {
        content: {
            type: "String",
            required: true,
            message: "评价内容不能为空",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    Ability_add: {
        ability: {
            type: "String",
            required: true,
            message: "能力不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    school_add: {
        times: {
            type: "String",
            required: true,
            message: "就读年限不能为空",
        },
        school: {
            type: "String",
            required: true,
            message: "学校不能为空",
        },
        major: {
            type: "String",
            required: true,
            message: "专业不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    project_add: {
        title: {
            type: "String",
            required: true,
            message: "项目名称不能为空",
        },
        time: {
            type: "String",
            required: true,
            message: "项目时间不能为空",
        },
        introduce: {
            type: "String",
            required: true,
            message: "项目介绍不能为空",
        },
        duty: {
            type: "String",
            required: true,
            message: "项目职责不能为空",
        },
        technology: {
            type: "String",
            required: true,
            message: "所用技术不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    myProject_add: {
        title: {
            type: "String",
            required: true,
            message: "项目名称不能为空",
        },
        time: {
            type: "String",
            required: true,
            message: "项目时间不能为空",
        },
        introduce: {
            type: "String",
            required: true,
            message: "项目介绍不能为空",
        },
        duty: {
            type: "String",
            required: true,
            message: "项目职责不能为空",
        },
        technology: {
            type: "String",
            required: true,
            message: "所用技术不能为空",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    article_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        reading: {
            type: "Number",
            required: true,
            message: "阅读量不能为空"
        },
        typeID: {
            type: "String",
            required: true,
            message: "类型不能为空"
        },
        keywords: {
            type: "String",
            desc: "关键字",
            message: "关键字"
        },
        more_meta: {
            type: "JSONstring",
            desc: "更多元数据",
        },
        text_show_type : {
            type : "String",
            message : "文本展示方式"
        },
        imgUrl: {
            type: "String",
            desc: "图片地址",
        },
        brfie: {
            type: "String",
            desc: "简介",
        },
        content: {
            type: "String",
            desc: "内容",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        }
    },
    banner_add: {
        title: {
            type: "String",
            required: true,
            message: "标题不能为空"
        },
        ImgUrl: {
            type: "String",
            desc: "图片地址",
        },
        articleID: {
            type: "String",
            desc: "文章ID",
        },
        mpPath: {
            type: "String",
            desc: "小程序路径",
        },
        path: {
            type: "String",
            desc: "跳转路径",
        },
        sorts: {
            type: "Number",
            desc: "排序",
        },
        is_text: {
            type: "Number",
            desc: "是否显示文字",
        },
        is_show: {
            type: "Number",
            desc: "是否显示",
        },
    },
    user_task_add: {
        title: {
            type: "String",
            desc: "任务名称",
            required: true
        },
        execution_time: {
            type: "String",
            desc: "执行时间",
            required: false
        },
        personnel: {
            type: "String",
            desc: "参与人",
            required: false
        },
        is_finish: {
            type: "Number",
            desc: "是否完成",
            required: false
        }
    },
    MyAsset_add : {
        title: {
            type: "String",
            desc: "资产名称",
            required: true
        },
        icon: {
            type: "String",
            desc: "资产图标",
            required: false
        },
        buy_time: {
            type: "String",
            desc: "购买时间",
            required: true
        },
        buy_amount: {
            type: "Number",
            desc: "购买金额",
            required: true
        },
        remarks: {
            type: "String",
            desc: "备注",
            required: false
        },
    }
}

module.exports = objectCheck;